home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dartv23.zip / DART-REG.BAT < prev    next >
DOS Batch File  |  1992-08-29  |  649b  |  35 lines

  1. ECHO OFF
  2. CLS
  3. BREAK ON
  4. REM Dart-Reg.Bat  Copyright (c) 1989,92 Ted Husted  Do not alter!
  5.  
  6. :INVENTORY
  7.  FOR %%f IN (CHKPRN.EXE GETKEY.EXE) DO IF NOT EXIST %%f GOTO LOGON
  8.  
  9. :CHECK
  10.  CHKPRN
  11.  IF ERRORLEVEL 3 GOTO OFFLINE
  12.  
  13. :ASK
  14.  GETKEY Would you like to print the registration form now? Y
  15.  IF ERRORLEVEL 1 GOTO SORRY
  16.  
  17. :GO
  18.  COPY DART.##R PRN:
  19.  GOTO END
  20.  
  21. :SORRY
  22.  ECHO Please try to run "%0" again sometime.
  23.  GOTO END
  24.  
  25. :OFFLINE
  26.  ECHO Your printer doesn't seem ready.
  27.  GETKEY Would you like to continue anyway? N
  28.  IF NOT ERRORLEVEL 1 GOTO SORRY
  29.  GOTO ASK
  30.  
  31. :LOGON
  32.  ECHO Please log onto the distribution disk and try again.
  33.  
  34. :END
  35.